package com.yxe.mapper;

import com.yxe.pojo.Pay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;
import java.util.List;


public interface PayMapper extends BaseMapper<Pay> {

    void insert(Integer payType, Float payMoney, LocalDateTime payMouth, Integer userId);

    List<Pay> selectAllById(Integer userId);

    List<Pay> selectAllByType(Integer userId, Integer payType);
}
